package com.cleaningcloud.erp.service;

import java.util.List;

import com.cleaningcloud.erp.domain.ErpWareCheck;
import com.cleaningcloud.erp.domain.ErpWareReporting;
import com.cleaningcloud.erp.domain.dto.ErpWareReportingDto;
import com.cleaningcloud.erp.domain.vo.ErpWareReportingVo;

/**
 * 报损单Service接口
 * 
 * @author cleaningcloud
 * @date 2024-10-08
 */
public interface IErpWareReportingService 
{
    /**
     * 查询报损单
     * 
     * @param wareReportingId 报损单主键
     * @return 报损单
     */
    ErpWareReportingVo selectErpWareReportingByWareReportingId(Long wareReportingId);

    /**
     * 查询报损单列表
     * 
     * @param erpWareReporting 报损单
     * @return 报损单集合
     */
    List<ErpWareReportingVo> selectErpWareReportingList(ErpWareReporting erpWareReporting);

    /**
     * 新增报损单
     * 
     * @param erpWareReporting 报损单
     * @return 结果
     */
    int insertErpWareReporting(ErpWareReportingDto erpWareReporting);

    /**
     * 修改报损单
     * 
     * @param erpWareReporting 报损单
     * @return 结果
     */
    int updateErpWareReporting(ErpWareReportingDto erpWareReporting);

    /**
     * 批量删除报损单
     * 
     * @param wareReportingIds 需要删除的报损单主键集合
     * @return 结果
     */
    int deleteErpWareReportingByWareReportingIds(Long[] wareReportingIds);

    /**
     * 删除报损单信息
     * 
     * @param wareReportingId 报损单主键
     * @return 结果
     */
    int deleteErpWareReportingByWareReportingId(Long wareReportingId);


    /**
     * 审核库存报损单
     * @param erpWareReporting
     * @return
     */
    int auditErpWareReporting(ErpWareReporting erpWareReporting);
}
